WCPOS\WooCommercePOS\API S

Total Complexity 37
Dependencies 17
Dependents 1
Total lines 337
Lines of code 144
Logical lines of code 87
Comment lines 143
Methods 12
Properties 3

Methods 12

Method Rating Maintainability Complexity Lines of code
authenticate()
S
56 6 19
rest_dispatch_request()
S
61 6 11
shorten_param_array()
S
55 5 19
rest_authentication_errors()
S
62 4 13
get_auth_header()
S
62 4 12
rest_pre_dispatch()
S
58 3 16
__construct()
S
51 2 25
determine_current_user()
S
69 2 7
rest_index()
S
65 2 9
rest_allowed_cors_headers()
S
74 1 5
rest_pre_serve_request()
S
76 1 4
prevent_messages()
S
76 1 4